$OpenBSD: patch-src_Makefile_in,v 1.3 2011/04/06 09:35:03 jasper Exp $

- external libgadu support, from cvs.pld-linux.org
- build without gnu make

--- src/Makefile.in.orig	Sat Apr 28 21:02:22 2007
+++ src/Makefile.in	Wed Mar 30 00:25:28 2011
@@ -10,7 +10,7 @@ libexecdir = @libexecdir@
 sysconfdir = @sysconfdir@
 
 CC = @CC@ 
-CFLAGS = -I.. -I../lib @CFLAGS@ -DDATADIR=\"${datadir}/ekg\" -DSYSCONFDIR=\"${sysconfdir}\"
+CFLAGS = -I.. @CFLAGS@ -DDATADIR=\"${datadir}/ekg\" -DSYSCONFDIR=\"${sysconfdir}\"
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
 
@@ -28,7 +28,7 @@ all:	dep ekg @ioctld@
 
 ekg:	$(OBJS) comptime.c @libgadu_a@
 	$(CC) $(CFLAGS) -c -o comptime.o comptime.c
-	$(CC) $(CFLAGS) -o ekg $(OBJS) comptime.o -L../lib @lgadu@ @libgadu_a@ $(LDFLAGS) $(LIBS)
+	$(CC) $(CFLAGS) -o ekg $(OBJS) comptime.o @lgadu@ @libgadu_a@ $(LDFLAGS) $(LIBS)
 
 ioctld:	ioctld.c
 	$(CC) $(CFLAGS) ioctld.c -o ioctld $(LIBS) @IOCTLD_OBJS@
@@ -63,10 +63,4 @@ clean:
 
 distclean:	clean
 	rm -f *~ Makefile
-
-#
-
-ifneq ($(wildcard .depend),)
-include .depend
-endif
 
